home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / comm / msged400.zip / src / memextra.h < prev    next >
C/C++ Source or Header  |  1996-06-20  |  410b  |  19 lines

  1. /*
  2.  *  MEMEXTRA.H
  3.  *
  4.  *  Written 1995-1996 by Andrew Clarke and released to the public domain.
  5.  *
  6.  *  Memory allocation routines with core exhaust checking.
  7.  */
  8.  
  9. #ifndef MEMEXTRA_H_INCLUDED
  10. #define MEMEXTRA_H_INCLUDED
  11.  
  12. void *xmalloc(size_t size);
  13. void *xcalloc(size_t nmemb, size_t size);
  14. void *xrealloc(void *ptr, size_t size);
  15. char *xstrdup(const char *str);
  16. void xfree(void *ptr);
  17.  
  18. #endif
  19.